package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 空间表
 * </p>
 *
 * @author author
 * @since 2023-05-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_rental_space")
@Schema(description="空间表")
public class RoomRentalSpace extends BaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "房间id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "空间名称")
    private String name;

    @Schema(description = "空间编号")
    private String spaceNo;

    @Schema(description = "街道")
    private String street;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区域")
    private String district;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "小区/写字楼名称")
    private String area;

    @Schema(description = "面积")
    private Double space;

    @Schema(description = "房态")
    private String rentStatus;

    @Schema(description = "类型 商铺、办公室、其他")
    private String type;

    @Schema(description = "公寓id")
    private Integer apartmentId;

    @Schema(description = "月租金")
    private Double monthRental;

    @Schema(description = "房间备注")
    private String remark;

    @Schema(description = "是否停用")
    private Boolean isStop;

    @Schema(description = "租户编号")
    private Long tenantId;


}
